<template>
  <div>
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="生活字典" name="share">
        <CollectionShare ></CollectionShare>
      </el-tab-pane>
      <el-tab-pane label="倾听瞬间" name="listen">
        <CollectionRead></CollectionRead>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import CollectionShare from "@/components/personal/collectionShare";
import CollectionRead from "@/components/personal/collectionRead";
export default {
  name: "collection",
  components: {CollectionRead, CollectionShare},
  data() {
    return {
      activeName: 'share'
    }
  },
  methods: {
    handleClick(tab, event) {

    }
  }
}
</script>

<style scoped>

</style>
